package com.sync.data.base;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 字段对象
 * @author liquanchang
 */
@Getter
@Setter
public class CoreField implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    public String code;
    /**
     * label
     */
    private String label;
    /**
     * 扩展属性
     */
    private String extend;
    /**
     * 类型
     */
    private String type;
    /**
     * icon
     */
    private String icon;
    /**
     * 对象
     */
    private String subObject;

    public CoreField(String code, String label, String extend, String type, String icon, String subObject) {
        this.code = code;
        this.label = label;
        this.extend = extend;
        this.type = type;
        this.icon = icon;
        this.subObject = subObject;
    }

    public CoreField() {
    }
}
